﻿<UserControl x:Class="MicroBlogClient.UCPager"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <TextBlock>
            <Hyperlink x:Name="linkFirstPage" 
                       Click="linkFirstPage_Click" 
                       IsEnabled="{Binding CanPreviousePageClick}">
                <Run Text="返回首页"/></Hyperlink><Run Text="  "/>
            <Run Text=" "/>
            <Hyperlink x:Name="linkPreviousePage"
                       Click="linkPreviousePage_Click"
                       IsEnabled="{Binding CanPreviousePageClick}">
                <Run Text="上一页"/></Hyperlink><Run Text="  "/>
            <Run Text=" "/>
            <Hyperlink x:Name="linkNextPage" Click="linkNextPage_Click" IsEnabled="{Binding CanNextPageClick}">
                <Run Text="下一页"/></Hyperlink>
        </TextBlock>
    </Grid>
</UserControl>
